<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>Help - Convert Datatype</title>

    <link rel="stylesheet" href="../style.css">
</head>
<body>
<table class="header">
    <tbody>
    <tr class="header">
        <td class="header">&nbsp; Convert Datatype</td>
        <td class="header" align="right"><a href="../general/Overview.html"><img src="../images/snap_header.jpg"
                                                                                 border="0"></a></td>
    </tr>
    </tbody>
</table>
<h3>Convert Datatype Operator</h3>The Toolbox is able to read in various supported data products, abstract the
complete dataset and meta-data internally and write the data to various
file formats using the plug-in writer modules. Internally, the data is
stored in a Generic Product Model (GPM) and organized in a similar
structure as its external representation the BEAM-DIMAP file format.
The BEAM-DIMAP format consists of an XML file containing meta-data and
a file folder containing image bands in flat binary files.<br><br>The
Convert Datatype Operator performs gain conversion. The data will be
formatted to be able to adjust for the dynamic range of the data in the
following ways:<br>
<ul>
    <li>no value scaling (truncation)</li>
    <li>linear scaling using slope and intercept: new value = slope * old value + intercept</li>
    <li>linear scaling between min. and max. pixel values or &#8216;clipped&#8217; (%) histogram</li>
    <li>logarithmic scaling using slope and intercept: new value = 10**(slope * old value + intercept)</li>
    <li>Look-Up Table defined by the user containing the mapping</li>
</ul>
<br>This will make it possible to be able to convert between the following data types:<br>
<ul>
    <li>8-bit integer</li>
    <li>16-bit integer</li>
    <li>32-bit integer</li>
    <li>32-bit float</li>
    <li>complex integer (16 bits + 16 bits)</li>
    <li>complex float (32 bits + 32 bits)</li>
</ul>
<hr>
</body>
</html>